Skip to main content

All Questions

-2votes
4answers
2kviews

C simple arrays and pointers question

So here's the confusion, let's say I declare an array of characters char name[3] = "Sam"; and then I declare another array but this time using pointers char * name = "Sam"; What's the difference ...
Nash Vail's user avatar

close